<xsl:stylesheet version="1.0" 
	xmlns:date="http://exslt.org/dates-and-times"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="date">

<xsl:param name="IsBlogOwner" />
<xsl:param name="RelativeUrl" />

<xsl:output omit-xml-declaration="yes" />

<xsl:template match="/">
	<xsl:if test="$IsBlogOwner = 'True'">
		<xsl:apply-templates select="AdminLinks"/>
	</xsl:if>
</xsl:template>

<xsl:template match="AdminLinks">
	
	<h2>Blog Admin</h2>
	<ul>
		<li><a href="{@CreatePosts}">Create Post</a></li>
		<li><a href="{@CreateCategories}">Create Category</a></li>
		<li><a href="{@Posts}">Manage Posts</a></li>
		<li><a href="{@Comments}">Manage Comments</a></li>
		<li><a href="{@Categories}">Manage Categories</a></li>
		<li><a href="{@Links}">Manage Links</a></li>
	</ul>

</xsl:template>
  
</xsl:stylesheet>